package ux51field

import "gitee.com/yanwc/ebike-vcom-device/internal/field"

type (
	Acc    field.U1
	AccRaw field.U1Raw
)

func (acc Acc) Connected(v Acc) bool {
	return acc&v == v
}

const (
	Sb8AccConnected Acc = 0b0000_0001 // Bit0：ACC状态 1：ACC接通；0：ACC断开
)
